﻿<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport"
		  content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>张英才个人简历</title>

	<style>
		*{
			margin: 0;
			padding: 0;
		}
		#one{
			width: 100%;
			height: 500px;
		}
		#one video{
			width: 100%;
			height: 100%;
			position: fixed;
			z-index: -200;

		}
		#one a{
			display: block;
			width: 100px;
			height: 30px;
			padding: 10px;
			text-align: center;
			line-height: 30px;
			border-radius: 10px;
			text-decoration: none;
			background-color: aquamarine;
			margin: 0 auto;
			display: none;

		}

	</style>
</head>
<body>
<div id="one">
	<video src="video/zyc.mp4" autoplay="autoplay" loop="loop" controls="controls"  id="vio"></video>
	<a href="indexa.html" id="two">查看我的简历</a>

</div>
</body>
<script>
	var vio=document.getElementById("vio");
	var two=document.getElementById("two");
	var clicka=document.getElementById("clicka");

	var time=null;
	/*clicka.onclick=function () {
        location.assign("indexa.html");
    }*/

	time=setInterval(function () {
        var xt=parseInt(vio.currentTime);
//        console.log(xt);
        if(xt==244){
            location.assign("indexa.html");
            two.style.display="block";
    }
    },500)

</script>
</html>
